package com.bazhua.bazo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bazhua.bazo.repository.entity.AgentUser;
import com.bazhua.bazo.repository.entity.CheckUser;
import com.bazhua.bazo.repository.model.result.CommonResult;
import com.bazhua.bazo.repository.model.result.PageListResult;

import java.util.List;

/**
 * @Author: starmile
 * @Description:
 * @Create: 2021-03-02 0:30
 **/
public interface IAgentUserService extends IService<AgentUser> {

    void registerAgentUser(Long userId, Long shopId);

    PageListResult getPage(Integer pageNum, Integer pageSize, Long userId);

    CommonResult deleteAgentUser(Long id);

    CommonResult registerAgentUser(String openId, Long shopId);

    List<Long> getUserIdsByAgentId(Long agentId);
}
